package ar.com.utn.openqsb.lip.core;

import ar.com.utn.openqsb.lip.core.Constraint.Relation;
import ar.com.utn.openqsb.lip.core.Objective.Type;

public class SimplexResult
{

    private double[] decisionVariableList;

    private double[] objectiveCoefficientList;

    private double[] variableContributionList;

    private double value;

    private Type objectiveType;

    private Relation[] constraintRelationList;

    private double[] constraintRHSList;

    private double[] slackValueList;

    public SimplexResult(double[] decisionVariableList, double[] objectiveCoefficientList, double[] variableContributionList, double value, Type objectiveType,
            Relation[] constraintRelationList, double[] constraintRHSList, double[] slackValueList)
    {
        super();
        this.decisionVariableList = decisionVariableList;
        this.objectiveCoefficientList = objectiveCoefficientList;
        this.variableContributionList = variableContributionList;
        this.value = value;
        this.objectiveType = objectiveType;
        this.constraintRelationList = constraintRelationList;
        this.constraintRHSList = constraintRHSList;
        this.slackValueList = slackValueList;
    }

    public double[] getDecisionVariableList()
    {
        return decisionVariableList;
    }

    public double[] getObjectiveCoefficientList()
    {
        return objectiveCoefficientList;
    }

    public double[] getVariableContributionList()
    {
        return variableContributionList;
    }

    public double getValue()
    {
        return value;
    }

    public Type getObjectiveType()
    {
        return objectiveType;
    }

    public Relation[] getConstraintRelationList()
    {
        return constraintRelationList;
    }

    public double[] getConstraintRHSList()
    {
        return constraintRHSList;
    }

    public double[] getSlackValueList()
    {
        return slackValueList;
    }

}
